package com.inews.business.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * TblBaseOrg entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="tbl_base_org")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class TblBaseOrg implements java.io.Serializable {

	// Fields
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	private String orgId;
	private String supOrgId;
	private String orgName;
	private String orgLevel;
	private String orgType;
	private String orgStatus;
	private String orgAddress;
	private String orgTel;
	private String orgFax;
	private String orgUrl;
	private String createUserId;
	private String createTime;
	private String lastUpdUserId;
	private String lastUpdDes;
	private String lastUpdTime;
	private String reserved1;
	private String reserved2;

	// Constructors

	/** default constructor */
	public TblBaseOrg() {
	}

	/** minimal constructor */
	public TblBaseOrg(String orgId, String supOrgId, String orgName,
			String orgStatus, String createUserId, String createTime,
			String lastUpdUserId, String lastUpdDes, String lastUpdTime) {
		this.orgId = orgId;
		this.supOrgId = supOrgId;
		this.orgName = orgName;
		this.orgStatus = orgStatus;
		this.createUserId = createUserId;
		this.createTime = createTime;
		this.lastUpdUserId = lastUpdUserId;
		this.lastUpdDes = lastUpdDes;
		this.lastUpdTime = lastUpdTime;
	}

	/** full constructor */
	public TblBaseOrg(String orgId, String supOrgId, String orgName,
			String orgLevel, String orgType, String orgStatus,
			String orgAddress, String orgTel, String orgFax, String orgUrl,
			String createUserId, String createTime, String lastUpdUserId,
			String lastUpdDes, String lastUpdTime, String reserved1,
			String reserved2) {
		this.orgId = orgId;
		this.supOrgId = supOrgId;
		this.orgName = orgName;
		this.orgLevel = orgLevel;
		this.orgType = orgType;
		this.orgStatus = orgStatus;
		this.orgAddress = orgAddress;
		this.orgTel = orgTel;
		this.orgFax = orgFax;
		this.orgUrl = orgUrl;
		this.createUserId = createUserId;
		this.createTime = createTime;
		this.lastUpdUserId = lastUpdUserId;
		this.lastUpdDes = lastUpdDes;
		this.lastUpdTime = lastUpdTime;
		this.reserved1 = reserved1;
		this.reserved2 = reserved2;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrgId() {
		return this.orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getSupOrgId() {
		return this.supOrgId;
	}

	public void setSupOrgId(String supOrgId) {
		this.supOrgId = supOrgId;
	}

	public String getOrgName() {
		return this.orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getOrgLevel() {
		return this.orgLevel;
	}

	public void setOrgLevel(String orgLevel) {
		this.orgLevel = orgLevel;
	}

	public String getOrgType() {
		return this.orgType;
	}

	public void setOrgType(String orgType) {
		this.orgType = orgType;
	}

	public String getOrgStatus() {
		return this.orgStatus;
	}

	public void setOrgStatus(String orgStatus) {
		this.orgStatus = orgStatus;
	}

	public String getOrgAddress() {
		return this.orgAddress;
	}

	public void setOrgAddress(String orgAddress) {
		this.orgAddress = orgAddress;
	}

	public String getOrgTel() {
		return this.orgTel;
	}

	public void setOrgTel(String orgTel) {
		this.orgTel = orgTel;
	}

	public String getOrgFax() {
		return this.orgFax;
	}

	public void setOrgFax(String orgFax) {
		this.orgFax = orgFax;
	}

	public String getOrgUrl() {
		return this.orgUrl;
	}

	public void setOrgUrl(String orgUrl) {
		this.orgUrl = orgUrl;
	}

	public String getCreateUserId() {
		return this.createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getLastUpdUserId() {
		return this.lastUpdUserId;
	}

	public void setLastUpdUserId(String lastUpdUserId) {
		this.lastUpdUserId = lastUpdUserId;
	}

	public String getLastUpdDes() {
		return this.lastUpdDes;
	}

	public void setLastUpdDes(String lastUpdDes) {
		this.lastUpdDes = lastUpdDes;
	}

	public String getLastUpdTime() {
		return this.lastUpdTime;
	}

	public void setLastUpdTime(String lastUpdTime) {
		this.lastUpdTime = lastUpdTime;
	}

	public String getReserved1() {
		return this.reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return this.reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

}